<?php
$pageTitle = '管理员列表';
include 'header.tpl.php'; ?>
<table>
  <tr>
    <th>ID</th>
    <th>登陆名</th>
    <th>用户昵称</th>
    <th>用户组</th>
    <th>操作</th>
  </tr>
  <?php foreach ($userList as $user):?>
  <tr>
    <td><?php echo $user['id'];?></td>
    <td><?php echo $user['uname'];?></td>
    <td><?php echo $user['alias'];?></td>
    <td><?php echo $groups[$user['group']];?></td>
    <td><a href="<?php echo $short_router?>del?uid=<?php echo $user['id'];?>">删除</a>,
     <a href="<?php echo $short_router?>edit?uid=<?php echo $user['id'];?>">修改</a></td>
  </tr>
  <?php endforeach;?>
</table>



<?php include 'footer.tpl.php';?>